package com.campus.domain.Dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class ClassCreateDto {

    @NotBlank(message = "班级名称不能为空")
    private String name;
    @NotBlank(message = "班级描述不能为空")
    private String classDesc;
    @NotBlank(message = "活动不能为空")
    private Long activityId;

}
